package com.example.wanandroid;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author jiangyi
 */
@IntDef({
        DataType.HIERARCHY,
        DataType.BANNER,
        DataType.FEEDARTICLE,
        DataType.FEEDARTICLELIST,
        DataType.ARTICLE,
        DataType.TOPSEARCH,
        DataType.USEFULSITE,
        DataType.NAVIGATION,
        DataType.PROJECTCLASSIFY,
        DataType.PROJECTLIST,
        DataType.WXAUTHOR
})

@Retention(RetentionPolicy.CLASS)
public @interface DataType {
    int HIERARCHY = 0;
    int BANNER = 1;
    int FEEDARTICLE = 2;
    int FEEDARTICLELIST = 3;
    int ARTICLE = 4;
    int TOPSEARCH = 5;
    int USEFULSITE = 6;
    int NAVIGATION = 7;
    int PROJECTCLASSIFY = 8;
    int PROJECTLIST = 9;
    int WXAUTHOR = 10;
}
